/*
 * LEDPort.h
 *
 * IOPort that interfaces with the athena board for the
 * anodes of the seven segment display.
 *
 * Author: Zachary Masiello
 * Author: Peter-John Rowe
 */

#ifndef LEDPORT_H_
#define LEDPORT_H_

#include "IOPort.h"

class LEDPort : public IOPort
{
public:
	// Constructor
	LEDPort();
	// Deconstructor
	virtual ~LEDPort();
	// Make methods to change the hexOutput variable to turn different LED's ON/OFF
	void output();
	// Set hex output to set the status of the mode to auto
	void autoOn();
	// Set the hex output to set the status of the mode to manual
	void autoOff();
	// Set the hex output to turn on the wheel sensor led
	void wheelOn();
	// Set the hex output to turn off the wheel sensor led
	void wheelOff();
	// Set the hex output to turn on the units led
	void unitsOn();
	// Set the hex output to turn off the units led
	void unitsOff();
private:
	uint8_t hexOutput;
};

#endif /* LEDPORT_H_ */
